<template>
<div>
  <h2>这是Count</h2>
  <button @click="count++">累加</button>
  <p class="count">{{count}}</p>
</div>
</template>


<script>
export default {
  name:"count",
  data(){
    return{
      count:0,
    }
  },
  methods:{
  }
}
</script>


<style scoped>
</style>